package de.gympu.gympulan.gplserver.chatserver;

import de.gympu.gympulan.gplserver.GPLServerPluginProtocolOutput;

public class ChatProtocol {
	private GPLServerPluginProtocolOutput prot;
	
	public ChatProtocol(GPLServerPluginProtocolOutput prot) {
		this.prot = prot;
	}
	
	public void hello() {
		prot.sendMessage("100");
	}
	
	public void message(String message) {
		prot.sendMessage("200",message);
	}

	public void giveName() {
		prot.sendMessage("300");
	}
}
